import instance from "@/utils/http";
// 获取banner
export const getBannerAPI = (distributionSite = "1") => {
  return instance({
    url: "/home/banner",
    params: {
      distributionSite,
    },
  });
};
export const findNewAPI = () => {
  return instance({
    url: "/home/new",
  });
};
export const findHotAPI = () => {
  return instance({
    url: "/home/hot",
  });
};
export const getGoodsAPI = () => {
  return instance({
    url: "/home/goods",
  });
};
